<h1>Aim users List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Email</th>
      <th>Full name</th>
      <th>Password</th>
      <th>Tel</th>
      <th>Mobile</th>
      <th>Address</th>
      <th>Role</th>
      <th>Is active</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($aim_users as $aim_user): ?>
    <tr>
      <td><a href="<?php echo url_for('user/edit?id='.$aim_user->getId()) ?>"><?php echo $aim_user->getId() ?></a></td>
      <td><?php echo $aim_user->getEmail() ?></td>
      <td><?php echo $aim_user->getFullName() ?></td>
      <td><?php echo $aim_user->getPassword() ?></td>
      <td><?php echo $aim_user->getTel() ?></td>
      <td><?php echo $aim_user->getMobile() ?></td>
      <td><?php echo $aim_user->getAddress() ?></td>
      <td><?php echo $aim_user->getRole() ?></td>
      <td><?php echo $aim_user->getIsActive() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('user/new') ?>">New</a>
